package com.lrkj.property.service;

import java.util.List;
import com.lrkj.property.domain.Employee;
import com.lrkj.common.core.service.BaseService;

/**
 * 员工关联表Service接口
 *
 * @author yajun_ren
 * @date 2022-03-16
 */
public interface IEmployeeService extends BaseService<Employee>
{
    /**
     * 查询员工关联表
     *
     * @param userId 员工关联表ID
     * @return 员工关联表
     */
    public Employee selectEmployeeById(Long userId);

    /**
     * 查询员工关联表列表
     *
     * @param employee 员工关联表
     * @return 员工关联表集合
     */
    public List<Employee> selectEmployeeList(Employee employee);

    /**
     * 新增员工关联表
     *
     * @param employee 员工关联表
     * @return 结果
     */
    public int insertEmployee(Employee employee);

    /**
     * 修改员工关联表
     *
     * @param employee 员工关联表
     * @return 结果
     */
    public int updateEmployee(Employee employee);

    /**
     * 批量删除员工关联表
     *
     * @param employee 需要删除的员工关联表ID
     * @return 结果
     */
    public int deleteEmployeeByIds(Employee employee);

    /**
     * 删除员工关联表信息
     *
     * @param userId 员工关联表ID
     * @return 结果
     */
    public int deleteEmployeeById(Long userId);
}
